package com.cz.background.service.common;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.cz.background.mapper.ey.EyScheduleMapper;
import com.cz.background.entity.ey.EySchedule;
@Service
public class EyScheduleService{

    @Autowired
    private EyScheduleMapper eyScheduleMapper;

    
    public int deleteByPrimaryKey(String doctorCode,String scheduleDate) {
        return eyScheduleMapper.deleteByPrimaryKey(doctorCode,scheduleDate);
    }

    
    public int insert(EySchedule record) {
        return eyScheduleMapper.insert(record);
    }

    
    public int insertSelective(EySchedule record) {
        return eyScheduleMapper.insertSelective(record);
    }

    
    public EySchedule selectByPrimaryKey(String doctorCode,String scheduleDate) {
        return eyScheduleMapper.selectByPrimaryKey(doctorCode,scheduleDate);
    }

    
    public int updateByPrimaryKeySelective(EySchedule record) {
        return eyScheduleMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(EySchedule record) {
        return eyScheduleMapper.updateByPrimaryKey(record);
    }

}
